package com.quanyan.place.component;

import com.quanyan.common.interceptor.UserCookieFilter;
import com.quanyan.user.serviceFacade.UserServiceFacade;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by Kingson.chan on 2016/7/9 0009.
 */
//@Component
public class PlaceUserCookieFilter extends UserCookieFilter {
    @Autowired
    UserServiceFacade userServiceFacade;

    @Override
    protected Integer getUserIdByToken(String uMsg) {
        return userServiceFacade.getUserIdByToken(uMsg);
    }
}
